# Copyright (c) 2008 Kimmo Parviainen <kimvais@gmail.com>
# See the LICENSE file for details

import cPickle
def save(filename,object):
	f = open(filename,"w")
	cPickle.dump(object, f)
	f.close()

def load(filename):
	f = open(filename,"r")
	object = cPickle.load(f)
	f.close()
	return object
